﻿<div class ="content clearfix">
    <!--加载图开始-->
    <div class="loaders" ng-show="loading_show==true">
        <div class="loader">
            <div class="loader-inner line-scale">
                <div></div>
                <div></div>
                <div></div>
                <div></div>
                <div></div>
            </div>
        </div>
    </div>
    <!--加载图结束-->
	<div class="crumb">
		<a href="javascript:void(0)" ng-click="statego()" class="_goback">返回</a>
		<span class="course_name">课程{{courseIndex+1}}:{{curriculum_name}}</span>
	</div>
  <div class="con_l2 con_12_task">
        <ul>
            <li ng-repeat="item in chapterList" ng-click="chapterlist(item,$index)">
                <a class="jl_slh" href="javascript:void(0);" ng-class="{active:item.index==temp||(num==0&&$index==0)}" >
                    <p>{{item.chapter_num}}</p>
                    <p>{{item.chapter_name}}</p>
                </a>
            </li>
        </ul>
    </div>
    <div class="con_r course_unblank">
     	<ul>
            <li ng-repeat="item in periodList">
                <a href="javascript:void(0);"><img ng-src="{{item.period_img}}"/></a>
                <span class="course_order">
                    <p>课程{{temp+1}}-{{$index+1}}&nbsp;&nbsp;&nbsp;&nbsp;{{item.period_name}}</p>
                    <!--<p class="course_name substring">{{item.period_desc}}</p>-->
                </span>
                <span class="course_score" ng-show="item.op_status==1&&ques_type==1"ng-class="{'star_gray':item.star_num==0,'star_img1':item.star_num==1,'star_img2':item.star_num==2}"></span>
                <span class="course_score star_gray" ng-show="item.op_status==0&&ques_type==1"></span>
                <span class="course_score star_no" ng-show="item.op_status==1&&ques_type==2" >{{item.max_total_score}}</span>
                <a href="javascript:void(0);" class="btn_gonew btn_go" ng-click="questionPop(item)" ng-show="item.op_status==1">开始练习</a>
                <a href="javascript:void(0);" class="btn_gonew btn_go_bfbfbf" ng-show="item.op_status==0"></a>
                <!--<a href="javascript:void(0);"><img ng-src="{{item.period_img}}"/></a>-->
                <!--<span class="course_order"><p>{{item.period_name}}</p>-->
                    <!--<p class="course_name substring">{{item.period_desc}}</p></span>-->
                <!--<span class="course_score" ng-show="item.op_status==2" >{{item.max_score}}</span>-->
                <!--<a href="javascript:void(0);" class="btn_go" ng-click="questionPop(item)" ng-show="item.op_status==2||item.op_status==1">开始练习</a>-->
            </li>
        </ul>
     </div>
    <!--没有题目弹窗-->
    <div class="black_patch"ng-show="tipShow">
        {{tipmess}}
    </div>
</div>
<!-- 弹窗 --> 
<div>  
<!-- 题目 -->
        <div ng-if="questionModal.isShow" style="display: block;height:100%;" class="modal fade in timu_tanchuang" tabindex="-1" role="dialog"
             aria-labelledby="myModalLabel" aria-hidden="false">
            <div class="modal-backdrop fade in"></div>
            <div class="modal-dialog modal-question modal-question-r"style="top:50%;" ng-show="ques_type==1">
                <div class="modal-content">
                    <div class="modal-header">
                        <div class="btn-close" data-dismiss="modal"><i class="icon-close" ng-click="questionModal.cancel()"></i></div>
                        <h4 class="modal-title jl-h4" ng-bind="questionModal.title"></h4>
                    </div>
                    <div class="modal-body">
                        <div class="modal-questionl">
                            <div class="qusType">
                                <div class="duo"style="font-size: 12px">单</div>
                                <div style="font-size: 12px">选</div>
                                <div style="font-size: 12px">题</div>
                            </div>
                            <div class="question_num">
                                {{questionList.now_right_count}}
                                <p class="question_numtit">正确题数</p>
                            </div>
                            <div class="question_num question_score">
                                {{questionList.now_wrong_count}}
                                <p class="question_numtit">答错题数</p>
                            </div>
                            <div class="question_num question_score">
                                {{questionList.question_total}}
                                <p class="question_numtit">总题数</p>
                            </div>
                            <div class="questionlbg"></div>
                        </div>
                        <div class="modal-questionr" >
                            <div ng-show="!finish" style="overflow-y: auto;height: 315px;margin-top: 88px;">
                                <div class="questionr_tit timu_top" ng-repeat="item in questionlist" ng-show="answering&&$index==question" >
                                    <span class="timu_top_left">题目：</span>
                                    <span class="timu_top_right">{{item.title}}</span>
                                    <div style="height:1px; margin-top:-1px;clear:both;overflow:hidden;"></div>
                                </div>
                                <!--是否有图片-->
                                <ul class="allImg"ng-show="$index==question&&item.question_img!=null"ng-repeat="item in questionlist">
                                    <li class="itemImg"ng-repeat="item_img in item.question_img">
                                        <img ng-click="img_click(item_img)" src="{{item_img}}" alt="">
                                        <!--&lt;!&ndash;图片放大&ndash;&gt;-->
                                        <!--<div ng-click="img_click()">-->
                                            <!--<div ng-if="img_big==true" style="display: block;" class="modal fade in" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="false">-->
                                                <!--<div class="modal-backdrop fade in bg_opa"></div>-->
                                                <!--<div class="img_box">-->
                                                    <!--&lt;!&ndash;<img class="bigImg" src="./images/nl_img.png" alt="">&ndash;&gt;-->
                                                    <!--<img class="bigImg" src="{{imgSrc}}" alt="">-->
                                                <!--</div>-->
                                            <!--</div>-->
                                        <!--</div>-->
                                        <!--&lt;!&ndash;图片放大结束&ndash;&gt;-->
                                    </li>
                                    <div style="height:1px; margin-top:-1px;clear:both;overflow:hidden;"></div>
                                </ul>
                                <ul class="questionr_con"  ng-show="answering&&$index==question"  ng-repeat="item in questionlist" >
                                    <!--<li ng-repeat="(k,v) in item.addition" ng-click="answer(k,item)" ng-class="{error:(answerList.answer !=answerList.s_answer && k ==answerList.s_answer&&numb==0),right:(k==answerList.answer&&numb==0 )}">-->
                                        <!--<span class="question_con">{{k}}&nbsp;<span class="question_option" >{{v}}</span></span>-->
                                    <!--</li>-->
                                    <li ng-repeat="(k,v) in item.addition" ng-click="answer(k,item)" ng-class="{error:(answerList.answer !=answerList.s_answer && k ==answerList.s_answer&&numb==0),right:(k==answerList.answer&&numb==0 )}">
                                        <span class="sp-l">{{k}}</span>
                                        <span class="sp-r">{{v}}</span>
                                        <div style="height:1px; margin-top:-1px;clear:both;overflow:hidden;"></div>
                                    </li>
                                </ul>
                            </div>
                            <!--<p class="questionr_tit"  ng-show="answering&&$index==question"  ng-repeat="item in questionlist" >题目：{{item.title}}</p>-->

                            <div class="questionr_finish danxuan_tc" ng-show="finish">
                                <!--<i class="icon_success"></i>-->
                                <!--<p class="tip_success">亲，已完成全部答题，得分<span class="finish_score">{{ questionList.now_right_score}}</span>分</p>-->
                                <!--<button class="btn btn-green jl-juzh" ng-click="questionModal.confirm(item)">再做一遍</button>-->
                                <div class="answer_box" ng-class="{'answer_box_no':now_star_num==0}">
                                    <!--星星跳入-->
                                    <span ng-show="now_star_num!=0" ng-class="{'green_star':now_star_num!=0}"></span>
                                    <span ng-show="now_star_num!=0" ng-class="{'green_star':now_star_num==2||now_star_num==3}"></span>
                                    <span ng-show="now_star_num!=0" ng-class="{'green_star':now_star_num==3}"></span>
                                </div>
                                <p ng-show="now_star_num!=0" >恭喜亲顺利通过本课时随堂练习</p>
                                <p ng-show="now_star_num!=0" >并解锁下一课时视频</p>
                                <p ng-show="now_star_num==0" >很遗憾未能通过本次练习</p>
                                <p ng-show="now_star_num==0" >亲再接再厉哦</p>
                                <button ng-show="now_star_num!=0" class="btn btn-green jl-juzh" ng-click="questionModal.cancel()">取消</button>
                                <button ng-show="now_star_num!=0" class="btn btn-green jl-juzh" ng-click="questionModal.video()">继续学习</button>
                                <button ng-show="now_star_num==0" class="btn btn-green jl-juzh" ng-click="questionModal.nowvideo()">查看学习视频</button>
                                <!--<button class="btn btn-green jl-juzh" ng-click="questionModal.nowvideo()">查看学习视频</button>-->
                                <button ng-show="now_star_num==0" class="btn btn-green jl-juzh" ng-click="questionModal.confirm(item)">再做一遍</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <!--多选 自己-->
            <div class="modal-dialog modal-question modal-question-d"ng-show="ques_type==2"style="top:50%;">
                <div class="modal-content">
                    <div class="modal-header">
                        <div class="btn-close" data-dismiss="modal"><i class="icon-close" ng-click="close_tc()"></i></div>
                        <h4 class="modal-title jl-h4" ng-show="answer_kaishi==true">第{{timu+1}}题</h4>
                    </div>
                    <div class="modal-body">
                        <div class="modal-questionl">
                            <div class="qusType">
                                <div class="duo"style="font-size: 12px">多</div>
                                <div style="font-size: 12px">选</div>
                                <div style="font-size: 12px">题</div>
                            </div>
                            <div class="question_num">
                                {{now_right_count}}
                                <p class="question_numtit">正确题数</p>
                            </div>
                            <div class="question_num question_score">
                                {{now_wrong_count}}
                                <p class="question_numtit">答错题数</p>
                            </div>
                            <div class="question_num question_score">
                                {{len}}
                                <p class="question_numtit">总题数</p>
                            </div>
                            <!--<div class="question_num question_score">-->
                                <!--{{now_right_score}}-->
                                <!--<p class="question_numtit">得分</p>-->
                            <!--</div>-->
                            <div class="questionlbg"></div>
                        </div>
                        <div class="modal-questionr modal-questionr-522" >
                            <div class="over-hidden"ng-show="answer_kaishi==true">
                                <!--<p class="questionr_tit" ng-repeat="item in question_list" ng-show="$index==timu">题目：{{item.title}}</p>-->
                                <div class="questionr_tit timu_top" ng-repeat="item in question_list" ng-show="$index==timu">
                                    <span class="timu_top_left">题目：</span>
                                    <span class="timu_top_right">{{item.title}}</span>
                                    <div style="height:1px; margin-top:-1px;clear:both;overflow:hidden;"></div>
                                </div>
                                <!--是否有图片-->
                                <ul class="allImg"ng-show="$index==timu&&item.question_img!=null"ng-repeat="item in question_list">
                                <!--<ul class="allImg"ng-show="$index==timu"ng-repeat="item in question_list">-->
                                    <li class="itemImg"ng-repeat="item_img in item.question_img">
                                    <!--<li class="itemImg">-->
                                        <!--<img ng-click="img_click('images/ce.png')" src="images/ce.png" alt="">-->
                                        <img ng-click="img_click(item_img)" src="{{item_img}}" alt="">
                                        <!--&lt;!&ndash;图片放大&ndash;&gt;-->
                                        <!--<div ng-click="img_click()">-->
                                            <!--<div ng-if="img_big==true" style="display: block;" class="modal fade in" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="false">-->
                                                <!--<div class="modal-backdrop fade in bg_opa"></div>-->
                                                <!--<div class="img_box">-->
                                                    <!--&lt;!&ndash;<img class="bigImg" src="./images/nl_img.png" alt="">&ndash;&gt;-->
                                                    <!--<img class="bigImg" src="{{imgSrc}}" alt="">-->
                                                <!--</div>-->
                                            <!--</div>-->
                                        <!--</div>-->
                                        <!--&lt;!&ndash;图片放大结束&ndash;&gt;-->
                                    </li>
                                    <!--<li class="itemImg">-->
                                        <!--<img ng-click="img_click('images/user_img.png')" src="images/user_img.png" alt="">-->
                                    <!--</li>-->
                                    <div style="height:1px; margin-top:-1px;clear:both;overflow:hidden;"></div>
                                </ul>
                                <ul class="questionr_con"  ng-show="$index==timu"  ng-repeat="item in question_list"ng-class="{hasImg:item.question_img!=0}" >
                                    <!--<li ng-click="pitch($index,item)" ng-repeat="(k,v) in item.addition" ng-class="{pitch_bg:pitch==1&&index==$index}">-->
                                        <!--<span class="question_con"><i>{{k}}:</i><span class="question_option" >{{v}}</span></span>-->
                                    <li ng-click="color=!color;duo_xuan($parent.$index,$index,color,item.question_id)" ng-repeat="(k,v) in item.addition" ng-class="{pitch_bg:color,right1:(k==zhengque_answer.substring(0,1)||k==zhengque_answer.substring(2,3)||k==zhengque_answer.substring(4,5)||k==zhengque_answer.substring(6,7)||k==zhengque_answer.substring(8,9))}">
                                        <span class="sp-l">{{k}}</span>
                                        <span class="sp-r">{{v}}</span>
                                        <span ng-show="span_right==true" ng-class="{right2:(k==zhengque_answer.substring(0,1)||k==zhengque_answer.substring(2,3)||k==zhengque_answer.substring(4,5)||k==zhengque_answer.substring(6,7)||k==zhengque_answer.substring(8,9))}"></span>
                                        <div style="height:1px; margin-top:-1px;clear:both;overflow:hidden;"></div>
                                    </li>
                                </ul>
                            </div>

                            <div class="questionr_finish" ng-show="finish">
                                <i class="icon_success"></i>
                                <p class="tip_success">亲，已完成全部答题，得分<span class="finish_score">{{ now_right_score}}</span>分</p>
                                <button class="btn btn-green jl-juzh test_again" ng-click="again_duo()">再做一遍</button>
                            </div>
                            <!--<div class="btn"style="line-height:34px" ng-click="answer_duo(0,item)">下一题</div>-->
                            <div class="btn"style="line-height:34px" ng-click="xiayiti()"ng-show="answer_kaishi==true">下一题</div>
                        </div>
                    </div>
                </div>
            </div>
        </div>  
</div> 
<div>
	<div ng-if="tipModal.isShow" style="display: block;" class="modal fade in" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="false">
		<div class="modal-backdrop fade in"></div>
		<div class="modal-dialog modal-sm">
			<div class="modal-content">
				<div class="modal-header">
					<div class="btn-close" data-dismiss="modal"><i class="icon-close" ng-click="tipModal.hide()"></i></div>
					<h4 class="modal-title" ng-bind="tipModal.title" style="line-height: 46px;"></h4>
				</div>
				<div class="modal-body modal-body-tip"> 亲，您还未加入任何企业<br/>暂不可查看
				</div>
				<div class="modal-footer jl-footer">
					<button type="button" class="btn btn-green" ng-click="tipModal.confirm()" style="text-align: center;margin-right: 158px;">我知道了</button>
				</div>
			</div>
		</div>
	</div>
</div>
<!--图片放大-->
<div>
    <div ng-show="img_big==true" style="display: block;" class="modal fade in" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="false">
        <div class="modal-backdrop fade in"style="opacity: 0.4"></div>
        <div class="img_box">
            <div style="width: 100%;height: 100%;position: absolute;top:0;left: 0;" ng-click="img_click()"></div>
            <div class="bigImgBox"id="bigImgBox">
                <!--<img class="bigImg"alt="" src="images/ce.png">-->
                <img class="bigImg"alt="" ng-src="{{scaleImg}}">
                <!--ng-src="{{scaleImg}}"-->
                <div>
                    <img src="./images/close_nl.png" alt="" ng-click="img_click()">
                </div>
            </div>
        </div>
    </div>
</div>
<!--图片放大结束-->